package com.yhb.base.default_learn;

/**
 * Created by yanghongbo on 2020/3/6.
 */
public class Default001Impl implements Default001 {

    @Override
    public String sayGoodbye(){
        return "Goodebye";
    }

    @Override
    public String sayHello2(String name){
        return "From:Default001Impl=>Hehe:"+name;
    }

    public static void main(String[] args) {
        Default001 default001 = new Default001Impl();
        System.out.println(default001.sayHello("zhangsang"));
        System.out.println(default001.sayHello2("lisi"));
        System.out.println(default001.sayGoodbye());
    }
}
